home *** CD-ROM | disk | FTP | other *** search
- Path: news.wwa.com!rmartin
- From: rmartin@oma.com (Robert C. Martin)
- Newsgroups: comp.object,comp.lang.c++,comp.realtime,comp.dcom.telecom.tech,comp.arch.embedded
- Subject: Re: Can OO be successful in real-time embedded systems?
- Date: 16 Apr 1996 21:14:15 GMT
- Organization: Object Mentor
- Message-ID: <RMARTIN.96Apr16161415@rcm.oma.com>
- References: <316BF0C5.1FE1@condat.de> <RMARTIN.96Apr11113222@rcm.oma.com>
- <4kjfrh$28g@Starbase.NeoSoft.COM>
- NNTP-Posting-Host: rcm.oma.com
- In-reply-to: timd@Starbase.NeoSoft.COM's message of 11 Apr 1996 12:34:41 -0500
-
- In article <4kjfrh$28g@Starbase.NeoSoft.COM> timd@Starbase.NeoSoft.COM (Tim Dugan) writes:
-
- Although I have no figures or measurements, I would have to say
- that I suspect that the one area where C++ is slower is that
- there is something about C++ that encourages programmers to
- perform a great deal more allocation and de-allocation of
- memory, causing memory fragmentation and slowing the allocation/
- deallocation process.
-
- There is nothing about C++ that encourages programmers to perform
- a great deal more allocation and de-allocation of memory. Some
- popular styles advocate this, but they advocate it in C++ as well as
- other languages.
-
- Also. If you use a programming style that is heavily weighted towards
- dynamic memory allocation, you can prefent fragmentation and heap
- delays by using non-deterministic heaps.
-
-
- --
- Robert Martin | Design Consulting | Training courses offered:
- Object Mentor Assoc.| rmartin@oma.com | OOA/D, C++, Advanced OO
- 14619 N. Somerset Cr| Tel: (847) 918-1004 | Mgt. Overview of OOT
- Green Oaks IL 60048 | Fax: (847) 918-1023 | http://www.oma.com
-
-